import {createContext} from "react";
import {CurrentSong} from "@src/services/chatRoom.ts";
import {chatRoomListDataType} from "@src/pages/home/chatRoom/default";
interface ThemeContextType {
    currentSongList: CurrentSong[] | undefined;
    switchSongLogic: (newSongId: number) => void
    locationState:chatRoomListDataType
}

export const ThemeContext = createContext<ThemeContextType>({} as ThemeContextType);
